package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="t_profit_rule_module")
public class ProfitRuleModule implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3856883787542145057L;

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "profitRuleModuleSeq")
	@SequenceGenerator(name = "profitRuleModuleSeq", sequenceName = "t_profit_rule_module_seq")
	private Long id;

	@Column(name = "MCC_TYPE_CODE")
	private String  mccTypeCode; // mcc 编码
	
	@Column(name = "MCC_TYPE_NAME")
	private String  mccTypeName; // mcc 名称
	
	@Column(name = "PROFIT_FEE")
	private double  profitFee; // 
	
	@Column(name = "PROFIT_SETTLE_RATE")
	private double  profitSettleRate; // 
	
	@Column(name = "PROFIT_MODULE_ID")
	private Long  profitModuleId; // 模板id
	
	@Column(name = "DT_CREATE")
	private Date  dtCreate; // 
	
	@Column(name = "DT_LASTMOD")
	private Date  dtLastmod; // 
	
	@Column(name = "OPERATORS")
	private String  operators; // 
	
	@Column(name = "PARAM_NAME1")
	private String  paramName1; // 待用参数1
	
	@Column(name = "PARAM_NAME2")
	private String  paramName2; // 待用参数2
	
	@Column(name = "MERCHANT_MIN_FEE")
	private double  merchantMinFee; // 
	
	@Column(name = "MAX_FEE")
	private double  maxFee; // 
	
	@Transient
	private String isCheck;//是否选中 更新时使用 

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMccTypeCode() {
		return mccTypeCode;
	}

	public void setMccTypeCode(String mccTypeCode) {
		this.mccTypeCode = mccTypeCode;
	}

	public String getMccTypeName() {
		return mccTypeName;
	}

	public void setMccTypeName(String mccTypeName) {
		this.mccTypeName = mccTypeName;
	}

	public double getProfitFee() {
		return profitFee;
	}

	public void setProfitFee(double profitFee) {
		this.profitFee = profitFee;
	}

	public double getProfitSettleRate() {
		return profitSettleRate;
	}

	public void setProfitSettleRate(double profitSettleRate) {
		this.profitSettleRate = profitSettleRate;
	}

	public Long getProfitModuleId() {
		return profitModuleId;
	}

	public void setProfitModuleId(Long profitModuleId) {
		this.profitModuleId = profitModuleId;
	}

	public Date getDtCreate() {
		return dtCreate;
	}

	public void setDtCreate(Date dtCreate) {
		this.dtCreate = dtCreate;
	}

	public Date getDtLastmod() {
		return dtLastmod;
	}

	public void setDtLastmod(Date dtLastmod) {
		this.dtLastmod = dtLastmod;
	}

	public String getOperators() {
		return operators;
	}

	public void setOperators(String operators) {
		this.operators = operators;
	}

	public String getParamName1() {
		return paramName1;
	}

	public void setParamName1(String paramName1) {
		this.paramName1 = paramName1;
	}

	public String getParamName2() {
		return paramName2;
	}

	public void setParamName2(String paramName2) {
		this.paramName2 = paramName2;
	}

	public double getMerchantMinFee() {
		return merchantMinFee;
	}

	public void setMerchantMinFee(double merchantMinFee) {
		this.merchantMinFee = merchantMinFee;
	}

	public double getMaxFee() {
		return maxFee;
	}

	public void setMaxFee(double maxFee) {
		this.maxFee = maxFee;
	}

	public String getIsCheck() {
		return isCheck;
	}

	public void setIsCheck(String isCheck) {
		this.isCheck = isCheck;
	}
	
}
